/*
 * @Author: windys
 * @Description: 
 * @Date: 2021-12-03 10:25:58
 */
import { createStore } from "vuex";
import createPersistedState from "vuex-persistedstate"
import mutations from "./mutations";
import actions from "./actions";
import getters from "./getters";
export default createStore({
  state: {
    routes: [],
    hidenSilde: false,
    layoutMode: 'inline'
  },
  mutations,
  actions,
  getters,
  plugins: [createPersistedState({
    storage: window.sessionStorage
  })]
});